package com.im.service.result.smo;

import com.im.service.dto.Result;
import com.im.service.result.dao.IResultOperDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ResultOperSMOImpl implements IResultOperSMO {
    @Autowired
    private IResultOperDAO resultOperDAO;

    @Override
    public void saveResult(Result result) {
        resultOperDAO.saveResult(result);
    }

    @Override
    public void updateResult(Result result) {
        resultOperDAO.updateResult(result);
    }
    @Override
    public void deleteResult(String resultId) {
        resultOperDAO.deleteResult(resultId);
    }
}
